package com.springboot.sba.D9_DynamicTask.task;

/**
 * @description:
 * @author: ZZZ
 * @time: 2021/8/8 17:15
 */
import org.springframework.stereotype.Component;

import java.text.SimpleDateFormat;
import java.util.Date;
@Component
public class Task2 extends ScheduledTaskJob {
    @Override
    public void run() {

        SimpleDateFormat simpleDateFormat =new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        System.out.println("==================task2 短信" +simpleDateFormat.format(new Date()));


    }
}
